func golang.org/x/sys/cpu.isSet
47 uses
golang.org/x/sys/cpu (current package)
cpu_x86.go#L73: X86.HasSSE2 = isSet(26, edx1)
cpu_x86.go#L75: X86.HasSSE3 = isSet(0, ecx1)
cpu_x86.go#L76: X86.HasPCLMULQDQ = isSet(1, ecx1)
cpu_x86.go#L77: X86.HasSSSE3 = isSet(9, ecx1)
cpu_x86.go#L78: X86.HasFMA = isSet(12, ecx1)
cpu_x86.go#L79: X86.HasCX16 = isSet(13, ecx1)
cpu_x86.go#L80: X86.HasSSE41 = isSet(19, ecx1)
cpu_x86.go#L81: X86.HasSSE42 = isSet(20, ecx1)
cpu_x86.go#L82: X86.HasPOPCNT = isSet(23, ecx1)
cpu_x86.go#L83: X86.HasAES = isSet(25, ecx1)
cpu_x86.go#L84: X86.HasOSXSAVE = isSet(27, ecx1)
cpu_x86.go#L85: X86.HasRDRAND = isSet(30, ecx1)
cpu_x86.go#L92: osSupportsAVX = isSet(1, eax) && isSet(2, eax)
cpu_x86.go#L101: osSupportsAVX512 = osSupportsAVX && isSet(5, eax) && isSet(6, eax) && isSet(7, eax)
cpu_x86.go#L105: X86.HasAVX = isSet(28, ecx1) && osSupportsAVX
cpu_x86.go#L112: X86.HasBMI1 = isSet(3, ebx7)
cpu_x86.go#L113: X86.HasAVX2 = isSet(5, ebx7) && osSupportsAVX
cpu_x86.go#L114: X86.HasBMI2 = isSet(8, ebx7)
cpu_x86.go#L115: X86.HasERMS = isSet(9, ebx7)
cpu_x86.go#L116: X86.HasRDSEED = isSet(18, ebx7)
cpu_x86.go#L117: X86.HasADX = isSet(19, ebx7)
cpu_x86.go#L119: X86.HasAVX512 = isSet(16, ebx7) && osSupportsAVX512 // Because avx-512 foundation is the core required extension
cpu_x86.go#L122: X86.HasAVX512CD = isSet(28, ebx7)
cpu_x86.go#L123: X86.HasAVX512ER = isSet(27, ebx7)
cpu_x86.go#L124: X86.HasAVX512PF = isSet(26, ebx7)
cpu_x86.go#L125: X86.HasAVX512VL = isSet(31, ebx7)
cpu_x86.go#L126: X86.HasAVX512BW = isSet(30, ebx7)
cpu_x86.go#L127: X86.HasAVX512DQ = isSet(17, ebx7)
cpu_x86.go#L128: X86.HasAVX512IFMA = isSet(21, ebx7)
cpu_x86.go#L129: X86.HasAVX512VBMI = isSet(1, ecx7)
cpu_x86.go#L130: X86.HasAVX5124VNNIW = isSet(2, edx7)
cpu_x86.go#L131: X86.HasAVX5124FMAPS = isSet(3, edx7)
cpu_x86.go#L132: X86.HasAVX512VPOPCNTDQ = isSet(14, ecx7)
cpu_x86.go#L133: X86.HasAVX512VPCLMULQDQ = isSet(10, ecx7)
cpu_x86.go#L134: X86.HasAVX512VNNI = isSet(11, ecx7)
cpu_x86.go#L135: X86.HasAVX512GFNI = isSet(8, ecx7)
cpu_x86.go#L136: X86.HasAVX512VAES = isSet(9, ecx7)
cpu_x86.go#L137: X86.HasAVX512VBMI2 = isSet(6, ecx7)
cpu_x86.go#L138: X86.HasAVX512BITALG = isSet(12, ecx7)
cpu_x86.go#L141: X86.HasAVX512BF16 = isSet(5, eax71)
cpu_x86.go#L144: X86.HasAMXTile = isSet(24, edx7)
cpu_x86.go#L145: X86.HasAMXInt8 = isSet(25, edx7)
cpu_x86.go#L146: X86.HasAMXBF16 = isSet(22, edx7)
cpu_x86.go#L149: func isSet(bitpos uint, value uint32) bool {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |